package com.kzw.oa.service.info;

import java.util.Date;

import com.kzw.core.service.BaseService;
import com.kzw.oa.model.info.Notification;

public interface NotificationService extends BaseService<Notification> {
	/**
	 * 发布定时提醒
	 * @param content
	 * @param userId
	 * @param start
	 * @param end
	 * @param defFlag
	 */
	public void publish(String content,Long userId,Date start,Date end,String defFlag);
	/**
	 * 激活当次登录是的提醒
	 */
	public void activateNotification();
	public void setEnable(String defFlag,boolean enable);
}
